package com.shitou.springai1.user.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

// StreamResponseMessage.java
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StreamResponseMessage {
    private MessageType type;     // 消息类型
    private String content;       // 消息内容
    private Object data;          // 附加数据
    private LocalDateTime timestamp;
}

// MessageType.java
